import request from '@/utils/request'

export function getSalesTop() {
  return request({
    url: '/statics/sales/top',
    method: 'get'
  })
}

export function getSaleDay() {
  return request({
    url: '/statics/sales/day',
    method: 'get'
  })
}

export function getSaleByQuarter() {
  return request({
    url: '/statics/sales/quarter',
    method: 'get'
  })
}

export function getSaleByMonth() {
  return request({
    url: '/statics/sales/month',
    method: 'get'
  })
}

export function getSaleByYear() {
  return request({
    url: '/statics/sales/year',
    method: 'get'
  })
}
